[INFO] cloning repository https://github.com/jlusty/jit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlusty/jit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlusty%2Fjit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlusty%2Fjit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ed8584fafcf5b1c7b8abfccf49910db77e0fc430
[INFO] checking jlusty/jit against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlusty%2Fjit" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jlusty/jit
[INFO] finished tweaking git repo https://github.com/jlusty/jit
[INFO] tweaked toml for git repo https://github.com/jlusty/jit written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jlusty/jit on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jlusty/jit already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hex v0.4.2
[INFO] [stderr]   Downloaded sha-1 v0.9.1
[INFO] [stderr]   Downloaded structopt v0.3.17
[INFO] [stderr]   Downloaded cpuid-bool v0.1.2
[INFO] [stderr]   Downloaded structopt-derive v0.4.10
[INFO] [stderr]   Downloaded num-integer v0.1.43
[INFO] [stderr]   Downloaded crc32fast v1.2.0
[INFO] [stderr]   Downloaded miniz_oxide v0.4.0
[INFO] [stderr]   Downloaded chrono v0.4.15
[INFO] [stderr]   Downloaded flate2 v1.0.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 66fc718d37ba10a71d23892ffc570eb13da2aad63cea6f49c43b799f7fa7af4a
[INFO] running `Command { std: "docker" "start" "-a" "66fc718d37ba10a71d23892ffc570eb13da2aad63cea6f49c43b799f7fa7af4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "66fc718d37ba10a71d23892ffc570eb13da2aad63cea6f49c43b799f7fa7af4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66fc718d37ba10a71d23892ffc570eb13da2aad63cea6f49c43b799f7fa7af4a", kill_on_drop: false }`
[INFO] [stdout] 66fc718d37ba10a71d23892ffc570eb13da2aad63cea6f49c43b799f7fa7af4a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31fbd566a3e8429e3637d5f64427be1e0fd8f2338efeab74da5edee48b6e8c88
[INFO] running `Command { std: "docker" "start" "-a" "31fbd566a3e8429e3637d5f64427be1e0fd8f2338efeab74da5edee48b6e8c88", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling syn v1.0.38
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.8
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking miniz_oxide v0.4.0
[INFO] [stderr]     Checking hex v0.4.2
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling indexmap v1.5.1
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking flate2 v1.0.17
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking chrono v0.4.15
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking sha-1 v0.9.1
[INFO] [stderr]    Compiling structopt-derive v0.4.10
[INFO] [stderr]     Checking structopt v0.3.17
[INFO] [stderr]     Checking jit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0423]: expected value, found module `entry`
[INFO] [stdout]    --> src/index.rs:200:23
[INFO] [stdout]     |
[INFO] [stdout] 200 |         for parent in entry.name().ancestors() {
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use the path separator to refer to an item
[INFO] [stdout]     |
[INFO] [stdout] 200 -         for parent in entry.name().ancestors() {
[INFO] [stdout] 200 +         for parent in entry::name().ancestors() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found module `entry`
[INFO] [stdout]    --> src/index.rs:205:38
[INFO] [stdout]     |
[INFO] [stdout] 205 |                     child_set.remove(entry.name().as_os_str().to_owned())
[INFO] [stdout]     |                                      ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use the path separator to refer to an item
[INFO] [stdout]     |
[INFO] [stdout] 205 -                     child_set.remove(entry.name().as_os_str().to_owned())
[INFO] [stdout] 205 +                     child_set.remove(entry::name().as_os_str().to_owned())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0023]: this pattern has 0 fields, but the corresponding tuple variant has 1 field
[INFO] [stdout]    --> src/index.rs:207:17
[INFO] [stdout]     |
[INFO] [stdout] 207 |                 EntryApi::Vacant() => {}
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected 1 field, found 0
[INFO] [stdout]    --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/collections/hash/map.rs:1794:58
[INFO] [stdout]     |
[INFO] [stdout]     = note: tuple variant has 1 field
[INFO] [stdout]     |
[INFO] [stdout] help: use `_` to explicitly ignore each field
[INFO] [stdout]     |
[INFO] [stdout] 207 |                 EntryApi::Vacant(_) => {}
[INFO] [stdout]     |                                  +
[INFO] [stdout] help: use `..` to ignore all fields
[INFO] [stdout]     |
[INFO] [stdout] 207 |                 EntryApi::Vacant(..) => {}
[INFO] [stdout]     |                                  ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found module `entry`
[INFO] [stdout]    --> src/index.rs:200:23
[INFO] [stdout]     |
[INFO] [stdout] 200 |         for parent in entry.name().ancestors() {
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use the path separator to refer to an item
[INFO] [stdout]     |
[INFO] [stdout] 200 -         for parent in entry.name().ancestors() {
[INFO] [stdout] 200 +         for parent in entry::name().ancestors() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found module `entry`
[INFO] [stdout]    --> src/index.rs:205:38
[INFO] [stdout]     |
[INFO] [stdout] 205 |                     child_set.remove(entry.name().as_os_str().to_owned())
[INFO] [stdout]     |                                      ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use the path separator to refer to an item
[INFO] [stdout]     |
[INFO] [stdout] 205 -                     child_set.remove(entry.name().as_os_str().to_owned())
[INFO] [stdout] 205 +                     child_set.remove(entry::name().as_os_str().to_owned())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0023]: this pattern has 0 fields, but the corresponding tuple variant has 1 field
[INFO] [stdout]    --> src/index.rs:207:17
[INFO] [stdout]     |
[INFO] [stdout] 207 |                 EntryApi::Vacant() => {}
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ expected 1 field, found 0
[INFO] [stdout]    --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/collections/hash/map.rs:1794:58
[INFO] [stdout]     |
[INFO] [stdout]     = note: tuple variant has 1 field
[INFO] [stdout]     |
[INFO] [stdout] help: use `_` to explicitly ignore each field
[INFO] [stdout]     |
[INFO] [stdout] 207 |                 EntryApi::Vacant(_) => {}
[INFO] [stdout]     |                                  +
[INFO] [stdout] help: use `..` to ignore all fields
[INFO] [stdout]     |
[INFO] [stdout] 207 |                 EntryApi::Vacant(..) => {}
[INFO] [stdout]     |                                  ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/index.rs:205:31
[INFO] [stdout]     |
[INFO] [stdout] 205 |                     child_set.remove(entry.name().as_os_str().to_owned())
[INFO] [stdout]     |                               ^^^^^^ ----------------------------------- unexpected argument
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/collections/hash/map.rs:2680:12
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 205 -                     child_set.remove(entry.name().as_os_str().to_owned())
[INFO] [stdout] 205 +                     child_set.remove()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/index.rs:205:21
[INFO] [stdout]     |
[INFO] [stdout] 203 | /             match child_set {
[INFO] [stdout] 204 | |                 EntryApi::Occupied(child_set) => {
[INFO] [stdout] 205 | |                     child_set.remove(entry.name().as_os_str().to_owned())
[INFO] [stdout]     | |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `HashSet<OsString>`
[INFO] [stdout] ...   |
[INFO] [stdout] 208 | |             }
[INFO] [stdout]     | |_____________- expected this to be `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                   found struct `HashSet<OsString>`
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 205 |                     child_set.remove(entry.name().as_os_str().to_owned());
[INFO] [stdout]     |                                                                          +
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 208 |             };
[INFO] [stdout]     |              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/index.rs:205:31
[INFO] [stdout]     |
[INFO] [stdout] 205 |                     child_set.remove(entry.name().as_os_str().to_owned())
[INFO] [stdout]     |                               ^^^^^^ ----------------------------------- unexpected argument
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/std/src/collections/hash/map.rs:2680:12
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 205 -                     child_set.remove(entry.name().as_os_str().to_owned())
[INFO] [stdout] 205 +                     child_set.remove()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/index.rs:205:21
[INFO] [stdout]     |
[INFO] [stdout] 203 | /             match child_set {
[INFO] [stdout] 204 | |                 EntryApi::Occupied(child_set) => {
[INFO] [stdout] 205 | |                     child_set.remove(entry.name().as_os_str().to_owned())
[INFO] [stdout]     | |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `HashSet<OsString>`
[INFO] [stdout] ...   |
[INFO] [stdout] 208 | |             }
[INFO] [stdout]     | |_____________- expected this to be `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                   found struct `HashSet<OsString>`
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 205 |                     child_set.remove(entry.name().as_os_str().to_owned());
[INFO] [stdout]     |                                                                          +
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 208 |             };
[INFO] [stdout]     |              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/index.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let children = self.parents.get(path);
[INFO] [stdout]     |                        ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 189 |                 for child in children {
[INFO] [stdout]     |                              -------- immutable borrow later used here
[INFO] [stdout] 190 |                     self.remove_entry(child)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0023, E0061, E0308, E0423, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0023`.
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/index.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let children = self.parents.get(path);
[INFO] [stdout]     |                        ------------ immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 189 |                 for child in children {
[INFO] [stdout]     |                              -------- immutable borrow later used here
[INFO] [stdout] 190 |                     self.remove_entry(child)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jit` (lib) due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0023, E0061, E0308, E0423, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0023`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jit` (lib test) due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "31fbd566a3e8429e3637d5f64427be1e0fd8f2338efeab74da5edee48b6e8c88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31fbd566a3e8429e3637d5f64427be1e0fd8f2338efeab74da5edee48b6e8c88", kill_on_drop: false }`
[INFO] [stdout] 31fbd566a3e8429e3637d5f64427be1e0fd8f2338efeab74da5edee48b6e8c88
